frame clock: Track if paint is caused by thaw or not
authorAlexander Larsson <alexl@redhat.com>
Fri, 5 Jun 2020 09:16:57 +0000 (11:16 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 5 Jun 2020 09:16:57 +0000 (11:16 +0200)
commit82c314f1af3fca776d4e7796ab7555b7182c8464
tree1c6195a7a050e3640bc6bab8b76271d04d86dced
parent672413f1f62d94d34ec9373f96da913519505d5b
frame clock: Track if paint is caused by thaw or not

When we get to a paint cycle we now know if this was caused by a
thaw, which typically means last frame was drawn, or some other event.

In the first case the time of the cycle is tied to the vblank in some
sense, and in the others it is essentially random. We can use this
information to compute better frame times. (Will be done in later
commits.)
gdk/gdkframeclockidle.c